Skip to content

Commit 75559d1

Browse files
authored
Added separate routes for topics and examples to a landing page (#960)
1 parent c874055 commit 75559d1

Some content is hidden

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

62 files changed

+1962
-110
lines changed

.php-cs-fixer.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
__DIR__ . '/src/adapter/**/tests',
1414
__DIR__ . '/src/lib/**/src',
1515
__DIR__ . '/src/lib/**/tests',
16-
__DIR__ . '/src/web/**/src',
16+
__DIR__ . '/web/**/src',
17+
__DIR__ . '/web/**/tests',
1718
__DIR__ . '/examples',
1819
]);
1920

composer.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@
181181
"@test:mutation"
182182
],
183183
"test": [
184-
"tools/phpunit/vendor/bin/phpunit"
184+
"tools/phpunit/vendor/bin/phpunit",
185+
"@test:web"
185186
],
186187
"test:docs": [
187188
"docker run -t --rm -v $PWD:/app norberttech/md-link-linter --exclude=vendor ."
@@ -208,6 +209,7 @@
208209
"tools/infection/vendor/bin/infection -j2"
209210
],
210211
"test:monorepo": "tools/monorepo/vendor/bin/monorepo-builder validate",
212+
"test:web": "composer test --working-dir=web/landing",
211213
"static:analyze": [
212214
"@static:analyze:cs-fixer",
213215
"@static:analyze:psalm",
@@ -247,7 +249,8 @@
247249
"composer install --working-dir=./tools/phpbench",
248250
"composer install --working-dir=./tools/phpstan",
249251
"composer install --working-dir=./tools/psalm",
250-
"composer install --working-dir=./tools/phpunit"
252+
"composer install --working-dir=./tools/phpunit",
253+
"composer install --working-dir=./web/landing/tools/phpunit"
251254
],
252255
"tools:update": [
253256
"composer update --working-dir=./tools/blackfire",
@@ -258,7 +261,8 @@
258261
"composer update --working-dir=./tools/phpbench",
259262
"composer update --working-dir=./tools/phpstan",
260263
"composer update --working-dir=./tools/psalm",
261-
"composer update --working-dir=./tools/phpunit"
264+
"composer update --working-dir=./tools/phpunit",
265+
"composer update --working-dir=./web/landing/tools/phpunit"
262266
]
263267
},
264268
"extra": {

src/web/landing/build/.gitkeep

Whitespace-only changes.

src/web/landing/src/Flow/Website/Controller/DefaultController.php

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/web/landing/templates/main/example.txt.twig

Lines changed: 0 additions & 40 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)