Commit Graph

3522 Commits

Author SHA1 Message Date
Fabien Potencier b6ca450e23 minor #2861 Prepare the switch to namespaces (fabpot)
This PR was squashed before being merged into the 1.x branch (closes #2861).

Discussion
----------

Prepare the switch to namespaces

Commits
-------

0bc26324 fixed class usage
fb6d12f7 fixed deprecation warning when using the namespaced class for extensions
04e16340 fixed namespace typo
26cc50f5 fixed typo
2019-03-04 20:07:23 +01:00
Fabien Potencier 0bc263247c fixed class usage 2019-03-04 19:59:29 +01:00
Fabien Potencier fb6d12f721 fixed deprecation warning when using the namespaced class for extensions 2019-03-04 19:49:48 +01:00
Fabien Potencier 04e1634047 fixed namespace typo 2019-03-04 18:38:09 +01:00
Fabien Potencier 26cc50f5a5 fixed typo 2019-03-04 18:33:32 +01:00
Fabien Potencier 3b98e82f37 minor #2860 Remove PHP 5.4 code (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Remove PHP 5.4 code

Commits
-------

1808776d removed PHP 5.4 code
2019-03-04 18:33:14 +01:00
Fabien Potencier 1808776de8 removed PHP 5.4 code 2019-03-04 18:28:16 +01:00
Fabien Potencier 6c55afeabb minor #2859 clarify the type of returned loaders (xabbuh)
This PR was merged into the 1.x branch.

Discussion
----------

clarify the type of returned loaders

Commits
-------

0eb29aa5 clarify the type of returned loaders
2019-03-04 09:31:39 +01:00
Christian Flothmann 0eb29aa514 clarify the type of returned loaders 2019-03-04 09:18:40 +01:00
Fabien Potencier e57472d80a feature #2858 Add getLoaders() on the chain loader (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Add getLoaders() on the chain loader

Commits
-------

31a549ce added getLoaders() on the chain loader
2019-03-03 20:49:04 +01:00
Fabien Potencier 31a549ce1e added getLoaders() on the chain loader 2019-03-03 19:01:41 +01:00
Fabien Potencier 8ebd8e90d5 minor #2855 Encourage using prepared statements (ntzm)
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead (closes #2855).

Discussion
----------

Encourage using prepared statements

Although the previous code isn't vulnerable, it could be if copied and used to store user input.

Commits
-------

97d9dc04 Encourage using prepared statements
2019-03-02 08:49:41 +01:00
Nat Zimmermann 97d9dc0404 Encourage using prepared statements 2019-03-02 08:49:36 +01:00
Fabien Potencier ea371bee81 minor #2853 Improve the tag documentation (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Improve the tag documentation

Commits
-------

ab02b24f improved the tag documentation
2019-02-27 08:39:35 +01:00
Fabien Potencier ab02b24f91 improved the tag documentation 2019-02-26 18:57:58 +01:00
Fabien Potencier 4f9d21fbce fixed wrong version in docs 2019-02-25 09:38:34 +01:00
Fabien Potencier f0e30abd79 minor #2852 Improve documentation on tags (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Improve documentation on tags

Commits
-------

571cf6e9 improved documentation on tags
2019-02-25 09:35:53 +01:00
Fabien Potencier 571cf6e984 improved documentation on tags 2019-02-25 09:34:06 +01:00
Fabien Potencier 3757418b88 removed support forum in composer.json 2019-02-22 01:48:47 +01:00
Fabien Potencier 624ed711a2 fixed typos 2019-02-17 19:29:59 +01:00
Fabien Potencier 12dd9a4e3f bug #2849 Fix undefined class Profile in templates (chalasr)
This PR was merged into the 1.x branch.

Discussion
----------

Fix undefined class Profile in templates

Fixes https://travis-ci.org/symfony/symfony/jobs/494506116.
~~The calling line is https://github.com/twigphp/Twig/blob/2.x/lib/Twig/Profiler/Node/EnterProfile.php#L34, let me know if we should just rollback to `new \Twig\Profiler\Profile()` there.~~ just reverted the failing line to its original state (using FQCN)

Commits
-------

c185a6e7 Fix undefined class Profile in templates
2019-02-17 18:13:04 +01:00
Robin Chalas c185a6e7f8 Fix undefined class Profile in templates 2019-02-17 17:39:28 +01:00
Fabien Potencier e7e1a71bd5 fixed CS 2019-02-17 11:04:35 +01:00
Fabien Potencier e9919c2187 fixed CS 2019-02-17 10:53:37 +01:00
Fabien Potencier 1e9c84adef minor #2848 Use statements everywhere (fabpot)
This PR was squashed before being merged into the 1.x branch (closes #2848).

Discussion
----------

Use statements everywhere

Commits
-------

1ddb8253 moved most FQCN to use statements
c92feb6a prepared use statements
2019-02-17 10:43:43 +01:00
Fabien Potencier 1ddb825336 moved most FQCN to use statements 2019-02-17 10:37:46 +01:00
Fabien Potencier c92feb6ab9 prepared use statements 2019-02-17 10:31:45 +01:00
Fabien Potencier 210fb60a0d feature #2844 Use namespaced classes by default (fabpot)
This PR was squashed before being merged into the 1.x branch (closes #2844).

Discussion
----------

Use namespaced classes by default

Commits
-------

3632a46e moved to namespaced classes by default
db751d62 fixed some class names
66b708bd bumped version to 1.38
2019-02-15 08:31:33 +01:00
Fabien Potencier 3632a46e82 moved to namespaced classes by default 2019-02-15 08:28:49 +01:00
Fabien Potencier db751d62d3 fixed some class names 2019-02-15 08:28:49 +01:00
Fabien Potencier 66b708bde8 bumped version to 1.38 2019-02-15 08:28:49 +01:00
Fabien Potencier 966296ff42 fixed CS 2019-02-15 07:56:53 +01:00
Fabien Potencier 7600efc010 minor #2843 Fix some PHPUnit assertions (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Fix some PHPUnit assertions

Commits
-------

40c6f1d1 fixed some PHPUnit assertions
2019-02-15 07:20:44 +01:00
Fabien Potencier 40c6f1d1b9 fixed some PHPUnit assertions 2019-02-15 07:19:24 +01:00
Fabien Potencier 3ea04337b7 minor #2842 Tweak PHP-CS-Fixer config (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Tweak PHP-CS-Fixer config

Commits
-------

98a15a89 tweaked PHP-CS-Fixer config
2019-02-15 06:18:14 +01:00
Fabien Potencier 98a15a8973 tweaked PHP-CS-Fixer config 2019-02-15 06:17:13 +01:00
Fabien Potencier a8e7eacd46 minor #2841 Change PHP-CS config (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Change PHP-CS config

Commits
-------

add887d6 fixed CS
2019-02-15 06:04:38 +01:00
Fabien Potencier cfca482226 minor #2840 Cs fixes (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Cs fixes

Commits
-------

b8daa6c4 prefixed some classes with a backslash
2019-02-15 05:53:51 +01:00
Fabien Potencier b8daa6c458 prefixed some classes with a backslash 2019-02-15 05:51:47 +01:00
Fabien Potencier add887d60c fixed CS 2019-02-15 04:46:05 +01:00
Fabien Potencier 3845d5247a minor #2839 Simplify some phpdocs (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Simplify some phpdocs

Commits
-------

ceb3c93e simplified some phpdocs
2019-02-15 04:22:20 +01:00
Fabien Potencier ceb3c93e28 simplified some phpdocs 2019-02-15 04:20:04 +01:00
Fabien Potencier 18f9780c6b minor #2834 Clarify the difference between the include function and tag (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Clarify the difference between the include function and tag

should close #2829

Commits
-------

2d902484 added some docs about the difference between the include tag and the include function
2019-02-15 04:03:34 +01:00
Fabien Potencier 4ea6ff4a55 minor #2837 Fix Travis config (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Fix Travis config

Commits
-------

325acd21 fixed Travis config
2019-02-14 07:45:28 +01:00
Fabien Potencier 325acd2141 fixed Travis config 2019-02-14 07:43:01 +01:00
Fabien Potencier 2d9024843f added some docs about the difference between the include tag and the include function 2019-02-13 09:34:17 +01:00
Fabien Potencier c88e944958 minor #2832 Remove the <pre> tag in docblocks (fabpot)
This PR was merged into the 1.x branch.

Discussion
----------

Remove the <pre> tag in docblocks

closes #2831 and closes #2830

Commits
-------

dcf228e9 removed the <pre> tag in docblocks
2019-02-12 08:52:58 +01:00
Fabien Potencier dcf228e91d removed the <pre> tag in docblocks 2019-02-12 08:50:54 +01:00
Fabien Potencier d142b77ddb bug #2825 remove duplicated directory separator (xabbuh)
This PR was merged into the 1.x branch.

Discussion
----------

remove duplicated directory separator

The $rootPath property is already initialized with a trailing directory
separator in the class constructor.

Commits
-------

edcbcc18 remove duplicated directory separator
2019-02-04 17:41:01 +01:00
Christian Flothmann edcbcc18ad remove duplicated directory separator
The $rootPath property is already initialized with a trailing directory
separator in the class constructor.
2019-02-04 13:03:18 +01:00