Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
php-versions: ['7.4', '8.0']
php-versions: ['7.4']

runs-on: ubuntu-latest

Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest
run: composer install --prefer-dist --no-progress

- name: Code lint PHP files
run: ./vendor/bin/phplint
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Includes:
* Twig helpers
* HTTP cache for full-page caching

## Status
Please note this software is in development, usage may change before the 1.0 release.

## Requirements

* PHP 7.4+
Expand All @@ -14,6 +17,12 @@ Includes:

## Installation

Install via Composer:

```
composer require strata/symfony-frontend:^0.8
```

See [installation](docs/installation.md)

## Documentation
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@
"squizlabs/php_codesniffer": "^3.5",
"phpunit/phpunit": "^9.5",
"symfony/test-pack": "^1.0"
},
"config": {
"allow-plugins": false
}
}
2 changes: 2 additions & 0 deletions src/DataCollector/StrataDataCollector.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Strata\SymfonyBundle\DataCollector;

use Strata\Data\Query\QueryManager;
Expand Down
1 change: 0 additions & 1 deletion src/EventSubscriber/ResponseHelperEventSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,4 @@ public function onKernelResponse(ResponseEvent $event)
// Apply headers from response helper
$this->helper->apply($event->getResponse());
}

}
1 change: 0 additions & 1 deletion src/EventSubscriber/ResponseTagsEventSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,4 @@ public function onKernelResponse(ResponseEvent $event)
// Add custom response header (since some cache proxies strip cache tag header)
$event->getResponse()->headers->set(self::TAGS_HEADER_NAME, $this->responseTagger->getTagsHeaderValue());
}

}