Skip to content

Commit a944e85

Browse files
authored
IBX-8121: Fixed code style for 5.0
#91
1 parent 080a95a commit a944e85

516 files changed

Lines changed: 1363 additions & 811 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@
4646
"symfony/yaml": "^5.3"
4747
},
4848
"require-dev": {
49-
"friendsofphp/php-cs-fixer": "^3.0",
5049
"ibexa/ci-scripts": "^0.2@dev",
51-
"ibexa/code-style": "^1.0",
50+
"ibexa/code-style": "~2.0.0",
5251
"ibexa/doctrine-schema": "~5.0.x-dev",
5352
"ibexa/test-core": "^0.1.x-dev",
5453
"justinrainbow/json-schema": "^5.2",
@@ -58,7 +57,7 @@
5857
"phpstan/phpstan-phpunit": "^1.3",
5958
"phpstan/phpstan-symfony": "^1.3",
6059
"phpstan/phpstan-webmozart-assert": "^1.2",
61-
"phpunit/phpunit": "^8.5",
60+
"phpunit/phpunit": "^9.6",
6261
"symfony/browser-kit": "^5.3",
6362
"symfony/http-client": "^5.3"
6463
},

phpunit.functional.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<phpunit
22
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
44
bootstrap="vendor/autoload.php"
55
beStrictAboutTestsThatDoNotTestAnything="false"
66
colors="true"
7-
failOnWarning="true"
87
>
98
<php>
109
<env name="EZP_TEST_REST_HOST" value="localhost"/>

phpunit.integration.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
2+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
33
bootstrap="tests/integration/bootstrap.php"
44
beStrictAboutOutputDuringTests="true"
55
beStrictAboutTodoAnnotatedTests="true"
6-
failOnWarning="true"
76
verbose="true">
87
<php>
98
<env name="KERNEL_CLASS" value="Ibexa\Tests\Integration\Rest\IbexaTestKernel" />

phpunit.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<phpunit
22
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
44
bootstrap="vendor/autoload.php"
55
beStrictAboutTestsThatDoNotTestAnything="false"
66
colors="true"
7-
failOnWarning="true"
87
>
98
<testsuites>
109
<testsuite name="Ibexa REST Bundle">

src/bundle/ApiLoader/Factory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* @copyright Copyright (C) Ibexa AS. All rights reserved.
55
* @license For full copyright and license information view LICENSE file distributed with this source code.
66
*/
7+
78
namespace Ibexa\Bundle\Rest\ApiLoader;
89

910
use Ibexa\Contracts\Core\Repository\Repository;

src/bundle/CorsOptions/RestProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* @copyright Copyright (C) Ibexa AS. All rights reserved.
55
* @license For full copyright and license information view LICENSE file distributed with this source code.
66
*/
7+
78
namespace Ibexa\Bundle\Rest\CorsOptions;
89

910
use Nelmio\CorsBundle\Options\ProviderInterface;

src/bundle/DependencyInjection/Compiler/FieldTypeProcessorPass.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* @copyright Copyright (C) Ibexa AS. All rights reserved.
55
* @license For full copyright and license information view LICENSE file distributed with this source code.
66
*/
7+
78
namespace Ibexa\Bundle\Rest\DependencyInjection\Compiler;
89

910
use Ibexa\Rest\FieldTypeProcessorRegistry;

src/bundle/DependencyInjection/Compiler/InputHandlerPass.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* @copyright Copyright (C) Ibexa AS. All rights reserved.
55
* @license For full copyright and license information view LICENSE file distributed with this source code.
66
*/
7+
78
namespace Ibexa\Bundle\Rest\DependencyInjection\Compiler;
89

910
use Ibexa\Rest\Input\Dispatcher;

src/bundle/DependencyInjection/Compiler/InputParserPass.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* @copyright Copyright (C) Ibexa AS. All rights reserved.
55
* @license For full copyright and license information view LICENSE file distributed with this source code.
66
*/
7+
78
namespace Ibexa\Bundle\Rest\DependencyInjection\Compiler;
89

910
use Ibexa\Contracts\Rest\Input\ParsingDispatcher;

src/bundle/DependencyInjection/Compiler/OutputVisitorPass.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* @copyright Copyright (C) Ibexa AS. All rights reserved.
55
* @license For full copyright and license information view LICENSE file distributed with this source code.
66
*/
7+
78
namespace Ibexa\Bundle\Rest\DependencyInjection\Compiler;
89

910
use Ibexa\Rest\Server\View\AcceptHeaderVisitorDispatcher;

0 commit comments

Comments
 (0)