Commit Graph

3936 Commits

Author SHA1 Message Date
Fabien Potencier fa94cc4934 minor #3340 Improve batch code example (y2keeper)
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead.

Discussion
----------

Improve batch code example

The current example uses an array of 7 items, resulting in 3 arrays of 3 items each (with fill).

This can be misinterpreted at a glance as creating n arrays as opposed to arrays with n items.

We should therefore instead use an example array of 4 items resulting in 2 arrays of 3 items each (with fill).

I think this would make the functionality less ambiguous.

Commits
-------

feb93210 Improve batch code example
2020-05-25 07:15:31 +02:00
y2keeper feb9321022 Improve batch code example
The current example uses an array of 7 items, resulting in 3 arrays of 3 items each (with fill). 

This can be misinterpreted at a glance as creating n arrays as opposed to arrays with n items.

We should therefore instead use an example array of 4 items resulting in 2 arrays of 3 items each (with fill). 

I think this would make the functionality less ambiguous.
2020-05-25 07:15:25 +02:00
Nicolas Grekas 8f0f071681 minor #3338 Minor fixes (nicolas-grekas)
This PR was merged into the 1.x branch.

Discussion
----------

Minor fixes

Commits
-------

5dc36446 Minor fixes
2020-05-21 11:11:52 +02:00
Nicolas Grekas 5dc364469b Minor fixes 2020-05-21 11:01:36 +02:00
Fabien Potencier f59c2596ad Tweak PHP constraint 2020-05-21 07:36:43 +02:00
Fabien Potencier 9b710b9cf0 minor #3336 Remove boilerplate to run tests on PHP 8 (nicolas-grekas)
This PR was merged into the 1.x branch.

Discussion
----------

Remove boilerplate to run tests on PHP 8

Follows https://github.com/symfony/symfony/pull/36882

Commits
-------

dd3defb9 Remove boilerplate to run tests on PHP 8
2020-05-21 07:35:01 +02:00
Nicolas Grekas dd3defb982 Remove boilerplate to run tests on PHP 8 2020-05-20 19:48:43 +02:00
Fabien Potencier 37f953956e minor #3334 Remove deprecated option (dbrumann)
This PR was merged into the 1.x branch.

Discussion
----------

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.

Commits
-------

b003d737 Remove deprecated option
2020-05-19 16:00:38 +02:00
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