Skip to content

Commit

Permalink
DockerPHP AllowSymfonyFlexPlugin on phpuser for phpunit (#2194)
Browse files Browse the repository at this point in the history
  • Loading branch information
daminux authored Mar 7, 2024
1 parent 8bcb02d commit fd6f286
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* `Elastica\Index::search()`
* `Elastica\Index::createSearch()`




### Added
* Added support for PHP 8.2 [#2136](https://github.com/ruflin/Elastica/pull/2136)
* Added missing `@throws` annotations to Client::request and related methods [#2152](https://github.com/ruflin/Elastica/pull/2152)
Expand All @@ -75,12 +78,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
* Updated `php-cs-fixer` to `3.13.2` [#2143](https://github.com/ruflin/Elastica/pull/2143)
* Modernize code using `match` expression [#2141](https://github.com/ruflin/Elastica/pull/2141)
* Updated docker/php/Dockerfile added AllowSymfonyFlexPlugin (false) on docker phpuser context [#2194](https://github.com/ruflin/Elastica/pull/2194)

### Deprecated
### Removed
* Removed the JSONParseException class, which is replaced by \JsonException
* Removed the JSONParseException test class
### Fixed
* Fix types order in `Elastica\Query` to work with psalm & expand the `aggs` type to include raw arrays

### Security

## [7.3.0](https://github.com/ruflin/Elastica/compare/7.3.0...7.2.0)
Expand Down
3 changes: 3 additions & 0 deletions docker/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ RUN apk add make gnupg ncurses
# Allow php to run with an
RUN adduser phpuser -u 1000 -D -g ""
USER phpuser

# Config allow-plugin.symfony.Flex on PHPUser context
RUN composer global config allow-plugins.symfony/flex false

0 comments on commit fd6f286

Please sign in to comment.