Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Behat/Context/Console/ApplicationTester.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ public function getDisplay(bool $normalize = false): string
if ($normalize) {
$display = str_replace(PHP_EOL, "\n", $display);
}
Assertion::string($display);

return $display;
}
Expand Down
1 change: 0 additions & 1 deletion Behat/Fixtures/Project/app/config/config_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ doctrine:
memory: true

orm:
auto_generate_proxy_classes: '%kernel.debug%'
auto_mapping: true

fsi_teryt_db:
Expand Down
2 changes: 1 addition & 1 deletion Teryt/Api/WSASoap.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private function locateHeader(): DOMNode
$headers = $this->SOAPXPath->query('//wssoap:Envelope/wssoap:Header');
Assertion::isInstanceOf($headers, DOMNodeList::class);
$header = $headers->item(0);
if (!$header) {
if (false === $header instanceof DOMNode) {
$header = $this->soapDoc->createElementNS($this->soapNS, $this->soapPFX . ':Header');
Assertion::isInstanceOf($header, DOMNode::class);
$this->envelope->insertBefore($header, $this->envelope->firstChild);
Expand Down
5 changes: 0 additions & 5 deletions Xml/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ public function parse(mixed $data, int $chunkSize = 1024): self
throw new Exception('Data must be a string or a stream resource');
}

//Ensure $chunkSize is the right type
if (!is_int($chunkSize)) {
throw new Exception('Chunk size must be an integer');
}

//Initialise the object
$this->init();

Expand Down
21 changes: 12 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"symfony/console": "^5.4|^6.4|^7.0",
"symfony/dom-crawler": "^5.4|^6.4|^7.0",
"symfony/css-selector": "^5.4|^6.4|^7.0",
"doctrine/persistence": "^2.0|^3.0",
"doctrine/persistence": "^2.0|^3.0|^4.0",
"doctrine/doctrine-fixtures-bundle": "^3.4|^4.0",
"robrichards/wse-php": "^2.0",
"robrichards/xmlseclibs": "^3.0"
Expand All @@ -31,23 +31,26 @@
"behat/behat": "^3.3",
"behat/mink-browserkit-driver": "^2.0",
"doctrine/collections": "^1.7|^2.0",
"doctrine/dbal": "^2.13.4|^3.0",
"doctrine/dbal": "^2.13.4|^3.0|^4.0",
"doctrine/doctrine-bundle": "^2.1|^3.0",
"doctrine/orm": "^2.8",
"doctrine/orm": "^2.8|^3.0",
"friends-of-behat/mink-extension": "^2.0",
"friends-of-behat/symfony-extension": "^2.4",
"phpspec/phpspec": "^5.0|^6.0|^7.0|^8.0",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-beberlei-assert": "^1.1",
"phpstan/phpstan-doctrine": "^1.0",
"phpstan/phpstan-symfony": "^1.3",
"squizlabs/php_codesniffer": "^3.7",
"symfony/proxy-manager-bridge": "^4.4.19|^5.4|^6.4|^7.0"
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-beberlei-assert": "^2.0",
"phpstan/phpstan-doctrine": "^2.0",
"phpstan/phpstan-symfony": "^2.0",
"squizlabs/php_codesniffer": "^4.0",
"symfony/proxy-manager-bridge": "^5.4|^6.4|^7.0"
},
"config": {
"bin-dir": "vendor/bin",
"sort-packages": true
},
"conflict": {
"symfony/var-exporter": ">=8.0"
},
"autoload": {
"psr-4": { "FSi\\Bundle\\TerytDatabaseBundle\\": "" }
},
Expand Down