Skip to content

Commit eeceaef

Browse files
committed
[TMP] Added invalid code on purpose
1 parent 9b524dc commit eeceaef

File tree

3 files changed

+10
-47
lines changed

3 files changed

+10
-47
lines changed

.github/workflows/build.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,14 @@ jobs:
8383
with:
8484
dependency-versions: "highest"
8585

86+
- name: Add composer keys for private packagist
87+
run: |
88+
composer config http-basic.updates.ibexa.co $SATIS_NETWORK_KEY $SATIS_NETWORK_TOKEN
89+
composer config github-oauth.github.com $TRAVIS_GITHUB_TOKEN
90+
env:
91+
SATIS_NETWORK_KEY: ${{ secrets.SATIS_NETWORK_KEY }}
92+
SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }}
93+
TRAVIS_GITHUB_TOKEN: ${{ secrets.TRAVIS_GITHUB_TOKEN }}
94+
8695
- name: Run PHPStan analysis
8796
run: composer phpstan

.github/workflows/ci.yaml

-46
This file was deleted.

code_samples/recent_activity/src/EventSubscriber/MyFeaturePostActivityListLoadEventSubscriber.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function loadMyFeature(PostActivityGroupListLoadEvent $event): void
3131
$visitedIds = [];
3232
$list = $event->getList();
3333
foreach ($list as $logGroup) {
34-
foreach ($logGroup->getActivityLogs() as $log) {
34+
foreach ($logGroup->getActivityLogsInvalid() as $log) {
3535
if ($log->getObjectClass() !== MyFeature::class) {
3636
continue;
3737
}

0 commit comments

Comments
 (0)