Skip to content

Commit 2cb0649

Browse files
authored
Merge pull request #4 from strata/0.8.1
Update install docs
2 parents f94990e + 4480dff commit 2cb0649

File tree

6 files changed

+16
-4
lines changed

6 files changed

+16
-4
lines changed

.github/workflows/php.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
php-versions: ['7.4', '8.0']
14+
php-versions: ['7.4']
1515

1616
runs-on: ubuntu-latest
1717

@@ -46,7 +46,7 @@ jobs:
4646
4747
- name: Install dependencies
4848
if: steps.composer-cache.outputs.cache-hit != 'true'
49-
run: composer install --prefer-dist --no-progress --no-suggest
49+
run: composer install --prefer-dist --no-progress
5050

5151
- name: Code lint PHP files
5252
run: ./vendor/bin/phplint

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ Includes:
66
* Twig helpers
77
* HTTP cache for full-page caching
88

9+
## Status
10+
Please note this software is in development, usage may change before the 1.0 release.
11+
912
## Requirements
1013

1114
* PHP 7.4+
@@ -14,6 +17,12 @@ Includes:
1417

1518
## Installation
1619

20+
Install via Composer:
21+
22+
```
23+
composer require strata/symfony-frontend:^0.8
24+
```
25+
1726
See [installation](docs/installation.md)
1827

1928
## Documentation

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,8 @@
3333
"squizlabs/php_codesniffer": "^3.5",
3434
"phpunit/phpunit": "^9.5",
3535
"symfony/test-pack": "^1.0"
36+
},
37+
"config": {
38+
"allow-plugins": false
3639
}
3740
}

src/DataCollector/StrataDataCollector.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Strata\SymfonyBundle\DataCollector;
46

57
use Strata\Data\Query\QueryManager;

src/EventSubscriber/ResponseHelperEventSubscriber.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,4 @@ public function onKernelResponse(ResponseEvent $event)
4444
// Apply headers from response helper
4545
$this->helper->apply($event->getResponse());
4646
}
47-
4847
}

src/EventSubscriber/ResponseTagsEventSubscriber.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,4 @@ public function onKernelResponse(ResponseEvent $event)
6060
// Add custom response header (since some cache proxies strip cache tag header)
6161
$event->getResponse()->headers->set(self::TAGS_HEADER_NAME, $this->responseTagger->getTagsHeaderValue());
6262
}
63-
6463
}

0 commit comments

Comments
 (0)