Skip to content

Commit 4aee140

Browse files
authored
Ignore .template from test suite (#2002)
1 parent 593f4c9 commit 4aee140

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Modify composer.json - default
5050
run: |
5151
CURRENT_DIR=$(pwd)
52-
for COMPONENT in $(find src/Service -maxdepth 2 -type f -name phpunit.xml.dist -printf '%h\n' | sort)
52+
for COMPONENT in $(find src/Service -maxdepth 2 -type f -name phpunit.xml.dist -printf '%h\n' | grep -v '.template' | sort)
5353
do
5454
echo ::group::$COMPONENT
5555
echo "$CURRENT_DIR/$COMPONENT"
@@ -64,7 +64,7 @@ jobs:
6464
done
6565
6666
cd "$CURRENT_DIR"
67-
for COMPONENT in $(find src/Integration -maxdepth 3 -type f -name phpunit.xml.dist -printf '%h\n' | sort)
67+
for COMPONENT in $(find src/Integration -maxdepth 3 -type f -name phpunit.xml.dist -printf '%h\n' | grep -v '.template' | sort)
6868
do
6969
echo ::group::$COMPONENT
7070
echo "$CURRENT_DIR/$COMPONENT"
@@ -84,7 +84,7 @@ jobs:
8484
SYMFONY_REQUIRE: '>=4.4'
8585
run: |
8686
CURRENT_DIR=$(pwd)
87-
for COMPONENT in $(find src -maxdepth 4 -type f -name phpunit.xml.dist -printf '%h\n' | sort)
87+
for COMPONENT in $(find src -maxdepth 4 -type f -name phpunit.xml.dist -printf '%h\n' | grep -v '.template' | sort)
8888
do
8989
echo ::group::$COMPONENT
9090
echo "$CURRENT_DIR/$COMPONENT"
@@ -105,7 +105,7 @@ jobs:
105105
run: |
106106
ok=0
107107
CURRENT_DIR=$(pwd)
108-
for COMPONENT in $(find src -maxdepth 4 -type f -name phpunit.xml.dist -printf '%h\n' | sort)
108+
for COMPONENT in $(find src -maxdepth 4 -type f -name phpunit.xml.dist -printf '%h\n' | grep -v '.template' | sort)
109109
do
110110
echo ::group::$COMPONENT
111111
localExit=0

src/Integration/Symfony/Bundle/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
- Apply new CodingStandard from latest php-cs-fixer.
1616
- Add support for `async-aws` 3.0 in the testsuite
17+
- Minor improvement on return typehint of Configuration::getConfigTreeBuilder method
1718

1819
## 1.15.0
1920

src/Integration/Symfony/Bundle/src/DependencyInjection/Configuration.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@
1111

1212
class Configuration implements ConfigurationInterface
1313
{
14+
/**
15+
* @return TreeBuilder<'array'>
16+
*/
1417
public function getConfigTreeBuilder(): TreeBuilder
1518
{
19+
/** @var TreeBuilder<'array'> $treeBuilder */
1620
$treeBuilder = new TreeBuilder('async_aws');
17-
/** @var ArrayNodeDefinition $rootNode */
21+
/** @var ArrayNodeDefinition<TreeBuilder<'array'>> $rootNode */
1822
$rootNode = $treeBuilder->getRootNode();
1923
/** @phpstan-ignore-next-line */
2024
$rootNode

0 commit comments

Comments
 (0)