Skip to content

Commit

Permalink
test: Fix the CI (#1153)
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Nov 30, 2023
1 parent 4864979 commit 9eb2edd
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 12 deletions.
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@

$config->addRules([
'php_unit_method_casing' => ['case' => 'camel_case'],
'php_unit_test_annotation' => false,
'phpdoc_no_empty_return' => false,
'static_lambda' => false,
]);
Expand Down
3 changes: 3 additions & 0 deletions fixtures/Bridge/Symfony/Application/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
#

framework:
handle_all_throwables: true
php_errors:
log: true
annotations:
enabled: false
secret: NelmioAliceBundleSecret
Expand Down
3 changes: 3 additions & 0 deletions fixtures/Bridge/Symfony/Application/config_custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
#

framework:
handle_all_throwables: true
php_errors:
log: true
annotations:
enabled: false
secret: NelmioAliceBundleSecret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
#

framework:
handle_all_throwables: true
php_errors:
log: true
annotations:
enabled: false
secret: NelmioAliceBundleSecret
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
executionOrder="random">

<php>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=8"/>
</php>

<listeners>
Expand Down
2 changes: 1 addition & 1 deletion phpunit_symfony.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
>

<php>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=8" />
</php>

<listeners>
Expand Down
2 changes: 1 addition & 1 deletion tests/Definition/Fixture/TemplatingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
class TemplatingTest extends TestCase
{
/**
* @depends test\Nelmio\Alice\Definition\ServiceReference\FixtureReferenceTest::testIsImmutable
* @depends \Nelmio\Alice\Definition\ServiceReference\FixtureReferenceTest::testIsImmutable
*/
public function testIsImmutable(): void
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Definition/Value/FixtureMethodCallValueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ public function testReadAccessorsReturnPropertiesValues(): void
}

/**
* @depends test\Nelmio\Alice\Definition\ServiceReference\FixtureReferenceTest::testIsImmutable
* @depends test\Nelmio\Alice\Definition\Value\FunctionCallValueTest::testIsImmutable
* @depends \Nelmio\Alice\Definition\ServiceReference\FixtureReferenceTest::testIsImmutable
* @depends \Nelmio\Alice\Definition\Value\FunctionCallValueTest::testIsImmutable
*/
public function testIsImmutable(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Definition/Value/FixturePropertyValueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function testReadAccessorsReturnPropertiesValues(): void
}

/**
* @depends test\Nelmio\Alice\Definition\Value\FixtureReferenceValueTest::testIsImmutable
* @depends \Nelmio\Alice\Definition\Value\FixtureReferenceValueTest::testIsImmutable
*/
public function testIsImmutable(): void
{
Expand Down
4 changes: 2 additions & 2 deletions tests/FixtureBuilder/BareFixtureSetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public function testReadAccessorsReturnPropertiesValues(): void
}

/**
* @depends test\Nelmio\Alice\ParameterBagTest::testIsImmutable
* @depends test\Nelmio\Alice\FixtureBagTest::testIsImmutable
* @depends \Nelmio\Alice\ParameterBagTest::testIsImmutable
* @depends \Nelmio\Alice\FixtureBagTest::testIsImmutable
*/
public function testIsImmutable(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/FixtureBuilder/ExpressionLanguage/TokenTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function testReadAccessorsReturnPropertiesValues(): void
}

/**
* @depends test\Nelmio\Alice\FixtureBuilder\ExpressionLanguage\TokenTypeTest::testIsImmutable
* @depends \Nelmio\Alice\FixtureBuilder\ExpressionLanguage\TokenTypeTest::testIsImmutable
*/
public function testIsImmutable(): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function testReadAccessorsReturnPropertiesValues(): void
}

/**
* @depends test\Nelmio\Alice\FixtureBagTest::testIsImmutable
* @depends \Nelmio\Alice\FixtureBagTest::testIsImmutable
*/
public function testIsImmutable(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Generator/Resolver/UniqueValuesPoolTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function testDoesNotHaveValueIfValueIsNotCached(): void
}

/**
* @depends test\Nelmio\Alice\Definition\Value\UniqueValueTest::testIsImmutable
* @depends \Nelmio\Alice\Definition\Value\UniqueValueTest::testIsImmutable
*/
public function testIsImmutable(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/ParameterBagTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function testIsImmutable(): void
}

/**
* @depends test\Nelmio\Alice\ParameterTest::testIsImmutable
* @depends \Nelmio\Alice\ParameterTest::testIsImmutable
*/
public function testWithersReturnNewModifiedObject(): void
{
Expand Down

0 comments on commit 9eb2edd

Please sign in to comment.