Commit Graph

3928 Commits

Author SHA1 Message Date
Denis Brumann b003d73762 Remove deprecated option
See: https://docs.travis-ci.com/user/reference/overview/#deprecated-virtualization-environments

> If you’re trying to use sudo: false or dist: precise keys in your travis.yml, we recommend you remove them and switch to our current Xenial Linux infrastructure.
2020-05-19 15:40:58 +02:00
Fabien Potencier aa3f8997d1 bug #3333 fix constructor argument types (xabbuh)
This PR was merged into the 1.x branch.

Discussion
----------

fix constructor argument types

Commits
-------

fcaa9991 fix constructor argument types
2020-05-19 15:35:32 +02:00
Christian Flothmann fcaa9991b1 fix constructor argument types 2020-05-19 15:18:10 +02:00
Fabien Potencier 78348c0cc6 bug #3331 Fix PHP 8.0 compat (fabpot, nicolas-grekas)
This PR was merged into the 1.x branch.

Discussion
----------

Fix PHP 8.0 compat

Commits
-------

8b1f0c7f Fix integration tests
6a0ab744 Fix PHP 8 compat
b952011f Install the phpunit-bridge with PHP 7.4 when testing nightly
914d945e Add PHP 8 / nightly in Travis matrix
2020-05-19 14:57:25 +02:00
Nicolas Grekas 8b1f0c7f7e Fix integration tests 2020-05-19 14:52:37 +02:00
Fabien Potencier 6a0ab744d2 Fix PHP 8 compat 2020-05-19 14:22:31 +02:00
Nicolas Grekas b952011f95 Install the phpunit-bridge with PHP 7.4 when testing nightly 2020-05-19 14:20:19 +02:00
Fabien Potencier 914d945e94 Add PHP 8 / nightly in Travis matrix 2020-05-19 12:39:01 +02:00
Fabien Potencier dbbc1e9d26 minor #3332 Drop support for PHP 7.0 (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Drop support for PHP 7.0

Commits
-------

9810bf55 Drop support for PHP 7.0
2020-05-19 12:24:53 +02:00
Fabien Potencier 9810bf558a Drop support for PHP 7.0 2020-05-19 12:19:14 +02:00
Fabien Potencier b2f19ec0a2 minor #3330 Drop PHP 5 support (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Drop PHP 5 support

PHP 5.6 has been unsopported for 2.5 years now and bumping min version to 7.0 will ease supporting PHP 8.0.

Commits
-------

52028f91 Drop PHP 5 support
2020-05-19 07:06:19 +02:00
Fabien Potencier 52028f91eb Drop PHP 5 support 2020-05-19 07:02:07 +02:00
Fabien Potencier d69dc2b207 minor #3311 Update api.rst (Yohann76)
This PR was submitted for the 3.x branch but it was squashed and merged into the 1.x branch instead.

Discussion
----------

Update api.rst

formating improve

Commits
-------

abe625a1 Update api.rst
2020-04-24 08:25:23 +02:00
Yohann Durand abe625a1a1 Update api.rst 2020-04-24 08:25:17 +02:00
Fabien Potencier 76e8f1312e Fix typo 2020-04-24 08:24:03 +02:00
Fabien Potencier f88cbfdd17 minor #3309 Fix CI on PHP5 (nicolas-grekas)
This PR was merged into the 1.x branch.

Discussion
----------

Fix CI on PHP5

Commits
-------

27479d65 Fix CI on PHP5
2020-04-22 23:35:26 +02:00
Nicolas Grekas 27479d6524 Fix CI on PHP5 2020-04-06 19:23:50 +02:00
Fabien Potencier a940d78909 minor #3300 fix node class namespace (xabbuh)
This PR was merged into the 1.x branch.

Discussion
----------

fix node class namespace

Commits
-------

06ff4bdf fix node class namespace
2020-03-24 13:33:44 +01:00
Christian Flothmann 06ff4bdf9a fix node class namespace 2020-03-24 12:12:57 +01:00
Fabien Potencier 4ba33d8950 minor #3295 Tweaking phpdoc above Environment (weaverryan)
This PR was submitted for the 3.x branch but it was merged into the 1.x branch instead.

Discussion
----------

Tweaking phpdoc above Environment

Super minor. This description is displayed in Symfony's `debug:autowiring` command. It occurred to me that the current description doesn't describe the "thing" that most people would be looking for - that it *renders* templates.

Thanks!

Commits
-------

fabbac88 Tweaking phpdoc above Environment
2020-03-17 15:08:54 +01:00
Ryan Weaver fabbac8816 Tweaking phpdoc above Environment 2020-03-17 15:08:49 +01:00
Fabien Potencier 103e2495f0 minor #3275 Identity Equals - Best practices (hectorprats)
This PR was submitted for the 3.x branch but it was merged into the 1.x branch instead.

Discussion
----------

Identity Equals - Best practices

all the equals are with identity equals, except these.

It's better normalize all the comparatives operations.

Commits
-------

60d5b4bc Identity Equals - Best practices
2020-02-26 13:13:58 +01:00
Hector Prats 60d5b4bcf7 Identity Equals - Best practices 2020-02-26 13:13:52 +01:00
Fabien Potencier 59373af88c minor #3280 Update default.rst (hellomedia)
This PR was submitted for the 3.x branch but it was merged into the 1.x branch instead.

Discussion
----------

Update default.rst

Add warning for potentially confusing behaviour and alternative solution.

Commits
-------

9ff9a4d3 Update default.rst
2020-02-26 13:13:25 +01:00
Nicolas Sauveur 9ff9a4d3c0 Update default.rst
Add warning for potentially confusing behaviour and alternative solution.
2020-02-26 13:13:20 +01:00
Fabien Potencier 8de0b772dc bug #3278 Fix ambiguous syntax parsing (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Fix ambiguous syntax parsing

Commits
-------

5663351a Fix ambiguous syntax parsing
2020-02-23 09:42:07 +01:00
Fabien Potencier 5663351a49 Fix ambiguous syntax parsing 2020-02-23 09:40:57 +01:00
Fabien Potencier 77e5846161 Fix regression 2020-02-21 09:29:07 +01:00
Fabien Potencier 5d6d791454 bug #3276 Fix ambiguous syntax parsing (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Fix ambiguous syntax parsing

Commits
-------

5724cbed Fix ambiguous syntax parsing
2020-02-21 08:36:20 +01:00
Fabien Potencier 5724cbeddf Fix ambiguous syntax parsing 2020-02-21 08:31:42 +01:00
Fabien Potencier 1325da4c85 minor #3269 Fix format of the CHANGELOG (nicolas-grekas)
This PR was merged into the 1.x branch.

Discussion
----------

Fix format of the CHANGELOG

Change to be applied to 2.x and 3.x when merging up of course.

Commits
-------

85cb7fd0 Fix format of the CHANGELOG
2020-02-14 16:14:30 +01:00
Nicolas Grekas 85cb7fd0ce Fix format of the CHANGELOG 2020-02-14 15:58:25 +01:00
Fabien Potencier 225ecdb1c8 minor #3267 Update advanced.rst (abdounikarim)
This PR was submitted for the 3.x branch but it was merged into the 1.x branch instead.

Discussion
----------

Update advanced.rst

Hello,

I just updated the class name 😉

Commits
-------

e030bf6e Update advanced.rst
2020-02-13 13:50:10 +01:00
Abdouni Abdelkarim e030bf6e38 Update advanced.rst
Hello,

I just updated the class name 😉
2020-02-13 13:50:04 +01:00
Fabien Potencier 10319b4f6a bug #3264 Optimize context access on PHP 7.4 (rob006)
This PR was merged into the 1.x branch.

Discussion
----------

Optimize context access on PHP 7.4

`700400` means PHP 70.4

refs https://github.com/twigphp/Twig/pull/2985

Commits
-------

e3c20d39 Fix optimize context access on PHP 7.4
2020-02-12 11:59:17 +01:00
Robert Korulczyk e3c20d39d6 Fix optimize context access on PHP 7.4 2020-02-11 21:11:57 +01:00
Fabien Potencier 56656f0e1c minor #3263 Sync LICENSE with GitHub template (nicolas-grekas)
This PR was merged into the 1.x branch.

Discussion
----------

Sync LICENSE with GitHub template

This should make GitHub able to detect the license of the project.
Copied from https://github.com/licenses/license-templates/blob/master/templates/bsd3.txt

Commits
-------

490017f2 Sync LICENSE with GitHub template
2020-02-11 17:34:01 +01:00
Nicolas Grekas 490017f227 Sync LICENSE with GitHub template 2020-02-11 17:31:46 +01:00
Fabien Potencier c984687688 Fix 7.4 on Travis 2020-02-11 08:48:29 +01:00
Fabien Potencier 71ddeccd46 Fix version 2020-02-11 07:03:14 +01:00
Fabien Potencier 982f8bde98 Bump version to 1.42.6-DEV 2020-02-11 07:00:45 +01:00
Fabien Potencier 87b2ea9d8f Prepare the 1.42.5 release v1.42.5 2020-02-11 06:59:23 +01:00
Fabien Potencier 953458b80b Update CHANGELOG 2020-02-11 06:50:53 +01:00
Fabien Potencier d1686608d5 Fix license to use the "official" BSD wording 2020-01-31 09:01:23 +01:00
Fabien Potencier ad9d4e93ef minor #3243 Syntax error in doc (JakeFr)
This PR was merged into the 1.x branch.

Discussion
----------

Syntax error in doc

This code sample in advanced.rst is not highlighted in php because the second semicolon is missing

Commits
-------

fbfac78f Syntax error in doc
2020-01-13 09:20:10 +01:00
JakeFr fbfac78fbd Syntax error in doc
This code sample in advanced.rst is not highlighted in php because the second semicolon is missing
2020-01-13 08:58:15 +01:00
Fabien Potencier 0ee1c7081c minor #3240 Fix versionadded in doc (fancyweb)
This PR was merged into the 1.x branch.

Discussion
----------

Fix versionadded in doc

I think those versionadded blocks don't show because they have a typo.

Commits
-------

6b25dccf Fix versionadded in doc
2020-01-11 16:39:51 +01:00
fancyweb 6b25dccf33 Fix versionadded in doc 2020-01-11 12:21:32 +01:00
Fabien Potencier ca4d96b7b7 bug #3237 Replace strtolower() with strtr() when dealing with method names (mpdude)
This PR was squashed before being merged into the 1.x branch (closes #3237).

Discussion
----------

Replace strtolower() with strtr() when dealing with method names

This is to improve consistency with the implementation of case-insensitivity for method names etc. in the Zend Engine: In fact, the ZE does not apply the internal `strtolower` implementation, but just maps ASCII `A-Z` to `a-z`.

This was done in https://github.com/php/php-src/commit/582514d4c7b216dbdc7a8429962cf3e5776206f0 to fix issues like https://bugs.php.net/bug.php?id=18556.

Additionally, `strtok` might give a tiny (measurable?) performance gain over `strtolower`, plus it is not locale-dependant.

Commits
-------

30feddef Replace strtolower() with strtr() when dealing with method names
2020-01-08 09:27:15 +01:00
Matthias Pigulla 30feddef10 Replace strtolower() with strtr() when dealing with method names 2020-01-08 09:27:07 +01:00