Skip to content

Commit

Permalink
Merge branch '8.3.x' into 8.2.x-merge-up-into-8.3.x_mRACCNH4
Browse files Browse the repository at this point in the history
  • Loading branch information
asgrim authored Aug 23, 2022
2 parents b6bb551 + 3b27f3f commit 68e70c6
Show file tree
Hide file tree
Showing 42 changed files with 2,374 additions and 3,468 deletions.
99 changes: 18 additions & 81 deletions .github/workflows/continuous-integration.yml

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions .github/workflows/roave-backwards-compatibility-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@ echo "Running BC check, please wait..."
OUTPUT=$(vendor/bin/roave-backward-compatibility-check --format=markdown "$@" 2>&1)

# Remove rows we want to suppress
OUTPUT=`echo "$OUTPUT" | sed '/Roave\\\BetterReflection\\\Reflection\\\ReflectionClass "Symfony\\\Component\\\HttpKernel\\\Event\\\FilterControllerEvent" could not be found in the located source/'d`
OUTPUT=`echo "$OUTPUT" | sed '/Roave\\\BetterReflection\\\Reflection\\\ReflectionClass "Scoutapm\\\ScoutApmBundle\\\Twig\\\TwigMethods" could not be found in the located source/'d`
OUTPUT=`echo "$OUTPUT" | sed '/Value of constant Twig\\\Environment::.* changed from .* to .*/'d`
#OUTPUT=`echo "$OUTPUT" | sed '/Roave\\\BetterReflection\\\Reflection\\\ReflectionClass "Symfony\\\Component\\\HttpKernel\\\Event\\\FilterControllerEvent" could not be found in the located source/'d`
#OUTPUT=`echo "$OUTPUT" | sed '/Roave\\\BetterReflection\\\Reflection\\\ReflectionClass "Scoutapm\\\ScoutApmBundle\\\Twig\\\TwigMethods" could not be found in the located source/'d`
#OUTPUT=`echo "$OUTPUT" | sed '/Value of constant Twig\\\Environment::.* changed from .* to .*/'d`
OUTPUT=`echo "$OUTPUT" | sed '/Method Illuminate\\\Support\\\Facades\\\Facade::.*() was removed/'d`

# Number of rows we found with "[BC]" in them
BC_BREAKS=`echo "$OUTPUT" | grep -o '\[BC\]' | wc -l | awk '{ print $1 }'`

# The last row of the output is "X backwards-incompatible changes detected". Find X.
STATED_BREAKS=`echo "$OUTPUT" | tail -n 1 | awk -F' ' '{ print $1 }'`

EXPECTED_STATED_BREAKS=21
EXPECTED_STATED_BREAKS=2

echo "$OUTPUT"
echo "Lines with [BC] not filtered: $BC_BREAKS"
Expand Down
Loading

0 comments on commit 68e70c6

Please sign in to comment.