Reedy
246c5fdf43
Add .gitignore to .gitattributes
2019-10-12 01:35:04 +01:00
Tobias Schultze
b2d6c10ba7
minor #33709 Add types to constructors and private/final/internal methods (Batch II) (derrabus)
...
This PR was squashed before being merged into the 4.4 branch (closes #33709 ).
Discussion
----------
Add types to constructors and private/final/internal methods (Batch II)
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | #32179 , #33228
| License | MIT
| Doc PR | N/A
Followup to #33519 , this time with:
* Form
* HttpClient
* HttpKernel
* intl
* Ldap
* Ldap
* Lock
* Messenger
* Processor
* PropertyInfo
* Routing
* Security
* Serializer
* Stopwatch
* Translation
Commits
-------
9378eb4858
Add types to constructors and private/final/internal methods (Batch II)
2019-10-03 13:24:15 +02:00
Alexander M. Turek
9378eb4858
Add types to constructors and private/final/internal methods (Batch II)
2019-10-03 13:24:03 +02:00
Ryan Linnit
28e30b132b
Fixing 'TypeError' in LdapUser::getSalt()
...
Return value of Symfony\Component\Ldap\Security\LdapUser::getSalt() must be of the type string or null, none returned
2019-10-02 20:38:58 +01:00
Nicolas Grekas
51a2cb6e3c
Merge branch '4.3' into 4.4
...
* 4.3:
[Security/Http] fix typo in deprecation message
Various tweaks 3.4
Various tweaks 4.3
[PhpUnit] Fix usleep mock return value
[Lock] use Predis\ClientInterface instead of Predis\Client
Fix version typo in deprecation notice
Make legacy "wrong" RFC2047 encoding apply only to one header
2019-09-24 17:57:39 +02:00
Nicolas Grekas
7031e83a8f
Merge branch '3.4' into 4.3
...
* 3.4:
Various tweaks 3.4
[PhpUnit] Fix usleep mock return value
[Lock] use Predis\ClientInterface instead of Predis\Client
2019-09-24 17:54:14 +02:00
Fabien Potencier
47cb83a6ec
Various tweaks 3.4
2019-09-24 07:29:29 +02:00
Nyholm
ac7dc24bcb
Adding .gitattributes to remove Tests directory from "dist"
2019-09-16 10:12:51 +02:00
Nicolas Grekas
089097046b
Merge branch '4.3' into 4.4
...
* 4.3: (23 commits)
fix merge
[SecurityBundle] fix return type declarations
[BrowserKit] fix return type declarations
[PropertyInfo] fix return type declarations
[Bridge/Doctrine] fix return type declarations
[Form] fix return type declarations
[Console] fix return type declarations
[Intl] fix return type declarations
[Templating] fix return type declarations
[DomCrawler] fix return type declarations
[Validator] fix return type declarations
[Process] fix return type declarations
[Workflow] fix return type declarations
[Cache] fix return type declarations
[Serializer] fix return type declarations
[Translation] fix return type declarations
[DI] fix return type declarations
[Config] fix return type declarations
[HttpKernel] Fix return type declarations
[Security] Fix return type declarations
...
2019-08-26 11:00:56 +02:00
Nicolas Grekas
65d942010c
Add more return types after fixing a typo in my script
2019-08-23 14:16:45 +02:00
Nicolas Grekas
962dcfeed0
Add return types to internal & magic methods when possible
2019-08-22 15:18:41 +02:00
Nicolas Grekas
fc186bb78f
Add return types to tests and final|internal|private methods
2019-08-21 17:14:41 +02:00
Nicolas Grekas
23faee406f
[4.4] Add return types on internal|final|private methods (bis)
2019-08-20 23:22:06 +02:00
Robin Chalas
08dd4f3ae1
[Ldap] Add missing LdapUser::setPassword()
2019-08-20 22:58:33 +02:00
Nicolas Grekas
32116184d7
Add return types to internal|final|private methods
2019-08-20 17:32:53 +02:00
Fabien Potencier
c098374d21
bug #33239 [Ldap] Make LdapUser implement EquatableInterface (chalasr)
...
This PR was merged into the 4.4 branch.
Discussion
----------
[Ldap] Make LdapUser implement EquatableInterface
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Bugfix because it is required for password migrations https://github.com/symfony/symfony/blob/4.4/src/Symfony/Component/Ldap/Security/LdapUserProvider.php#L128
Commits
-------
ae255095ea
[Ldap] Make LdapUser implement EquatableInterface
2019-08-19 17:56:55 +02:00
Mdewet
7d1fefe8b8
Typo - Fix bad classnames in Exceptions docblocks
2019-08-19 15:54:22 +02:00
Robin Chalas
ae255095ea
[Ldap] Make LdapUser implement EquatableInterface
2019-08-19 14:33:50 +02:00
Nicolas Grekas
507223dc73
Merge branch '4.3' into 4.4
...
* 4.3:
Remove superfluous phpdoc tags
2019-08-14 14:37:46 +02:00
Nicolas Grekas
b3467e641c
Merge branch '3.4' into 4.3
...
* 3.4:
Remove superfluous phpdoc tags
2019-08-14 14:26:46 +02:00
Philippe Segatori
608e23c09a
Remove superfluous phpdoc tags
2019-08-14 13:59:53 +02:00
Nicolas Grekas
0bdf10a886
Merge branch '4.3' into 4.4
...
* 4.3:
cs fix
Partially Revert "Remove trailing space in all markdown files"
[Intl] Explicit check
Fix getMaxFilesize() returning zero
[DI] fix docblocks in Container*
Fixed markdown file
[TwigBridge] Replaced plain doc block copies with inheritdoc.
[DomCrawler] Fixed CHANGELOG markup
[Intl] Cleanup unused language aliases entry
2019-08-14 13:04:46 +02:00
Nicolas Grekas
cda8a67df8
Merge branch '3.4' into 4.3
...
* 3.4:
cs fix
Partially Revert "Remove trailing space in all markdown files"
[Intl] Explicit check
Fix getMaxFilesize() returning zero
[DI] fix docblocks in Container*
Fixed markdown file
[TwigBridge] Replaced plain doc block copies with inheritdoc.
[Intl] Cleanup unused language aliases entry
2019-08-14 13:02:36 +02:00
Grégoire Pineau
136972506e
Fixed markdown file
2019-08-13 19:39:09 +02:00
Nicolas Grekas
32389f8b7f
Merge branch '4.3' into 4.4
...
* 4.3:
Disable phpunit typehint patch on 4.3 branch
Fix deprecation on 4.3
2019-08-08 14:07:40 +02:00
Fabien Potencier
692a6e7495
Remove unneeded phpdocs
2019-08-08 11:37:48 +02:00
Jérémy Derussé
a5af6c4cd7
Disable phpunit typehint patch on 4.3 branch
2019-08-08 11:29:19 +02:00
Christian Flothmann
90b5dca192
remove wrongly added legacy group from test
...
This was missed to be removed when tests from the legacy implementation
where copied from the Security component.
2019-08-08 08:51:31 +02:00
Nicolas Grekas
a0c2aa8302
Merge branch '4.3' into 4.4
...
* 4.3:
Fix inconsistent return points.
pass translation parameters to the trans filter
[Mime] fixed wrong mimetype
[ProxyManagerBridge] Polyfill for unmaintained version
[HttpClient] Declare `$active` first to prevent weird issue
Remove deprecated assertContains
[HttpClient] fix tests
SCA: dropped unused mocks, duplicate import and a function alias usage
Added correct plural for box -> boxes
[Config] fix test
Fix remaining tests
Improve fa (persian) translation
2019-08-07 14:00:28 +02:00
Nicolas Grekas
3cd7726d0d
Merge branch '3.4' into 4.3
...
* 3.4:
[ProxyManagerBridge] Polyfill for unmaintained version
SCA: dropped unused mocks, duplicate import and a function alias usage
[Config] fix test
Improve fa (persian) translation
2019-08-07 10:30:22 +02:00
Mario Blažek
43acda6cf4
Remove deprecated assertContains
2019-08-07 10:22:11 +02:00
Vladimir Reznichenko
484668fe56
SCA: dropped unused mocks, duplicate import and a function alias usage
2019-08-07 09:23:44 +02:00
Fabien Potencier
7a44ed6544
removed unneeded phpdocs
2019-08-06 08:19:29 +02:00
Nicolas Grekas
38143c604f
Merge branch '4.3' into 4.4
...
* 4.3:
[Form] Fix inconsistencies
Use Phpunit FQDN in tests comments
2019-08-05 16:24:36 +02:00
Nicolas Grekas
ccb3a4c2d5
Merge branch '3.4' into 4.3
...
* 3.4:
[Form] Fix inconsistencies
Use Phpunit FQDN in tests comments
2019-08-05 16:23:38 +02:00
Jérémy Derussé
92bd9ec4b7
Use Phpunit FQDN in tests comments
2019-08-05 16:11:35 +02:00
Nicolas Grekas
5ef437b5f4
Merge branch '4.3' into 4.4
...
* 4.3:
Minor fixes
[HttpClient] Minor fixes
Use namespaced Phpunit classes
[Messenger] Fixed ConsumeMessagesCommand configuration
[Form] remove leftover int child phpdoc
Support DateTimeInterface in IntlDateFormatter::format
[PhpUnitBridge] fixed PHPUnit 8.3 compatibility: method handleError was renamed to __invoke
fixed phpdocs
Use PHPunit assertion
[Intl] Order alpha2 to alpha3 mapping + phpdoc fixes
2019-08-05 16:07:36 +02:00
Nicolas Grekas
2cfc5c7dd6
[Security] add support for opportunistic password migrations
2019-08-05 10:47:47 +02:00
Robin Chalas
3e523ddd51
fix case
2019-08-05 08:30:47 +02:00
Fabien Potencier
84d5996c41
feature #32824 [Ldap] Add security LdapUser and provider (chalasr)
...
This PR was merged into the 4.4 branch.
Discussion
----------
[Ldap] Add security LdapUser and provider
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Moves `LdapUserProvider` from `Security\Core` to the Ldap component, the provider now deals with a new `LdapUser` aware of its ldap `Entry` (should help in #31843 ).
Commits
-------
6736cdfec3
[Ldap] Add security LdapUser and provider
2019-08-05 07:37:48 +02:00
Nicolas Grekas
d588be203a
Merge branch '4.3' into 4.4
...
* 4.3:
Remove use of ForwardCompatTrait
Remove deprecated methods assertArraySubset
2019-08-03 23:59:26 +02:00
Nicolas Grekas
64e3a327bc
Merge branch '3.4' into 4.3
...
* 3.4:
Remove use of ForwardCompatTrait
Remove deprecated methods assertArraySubset
2019-08-03 23:50:52 +02:00
Jérémy Derussé
ac6242f36b
Remove use of ForwardCompatTrait
2019-08-03 23:15:25 +02:00
Nicolas Grekas
daa4e4020f
Merge branch '4.3' into 4.4
...
* 4.3:
Fix tests
Fix deprecated phpunit annotation
2019-08-02 14:28:34 +02:00
Nicolas Grekas
1b56d7f04d
Merge branch '3.4' into 4.3
...
* 3.4:
Fix tests
Fix deprecated phpunit annotation
2019-08-02 14:15:04 +02:00
Jérémy Derussé
3a626e8778
Fix deprecated phpunit annotation
2019-08-02 00:48:42 +02:00
Nicolas Grekas
57725de070
Merge branch '4.3' into 4.4
...
* 4.3:
cs fix
Replace calls to setExpectedException by Pollyfill
2019-08-01 23:16:36 +02:00
Nicolas Grekas
e6e68e83cc
Merge branch '3.4' into 4.3
...
* 3.4:
cs fix
Replace calls to setExpectedException by Pollyfill
2019-08-01 23:16:14 +02:00
Jérémy Derussé
41c02d7ead
Replace calls to setExpectedException by Pollyfill
2019-08-01 22:42:50 +02:00
Robin Chalas
6736cdfec3
[Ldap] Add security LdapUser and provider
2019-08-01 17:21:33 +02:00