This repository has been archived by the owner. It is now read-only.
Permalink
Commits on Sep 13, 2018
Commits on Jul 2, 2018
  1. bug #355 Allow $this type hint (CharlotteDunois)

    fabpot committed Jul 2, 2018
    This PR was merged into the 4.1-dev branch.
    
    Discussion
    ----------
    
    Allow $this type hint
    
    This PR allows the `$this` type hint (use case: return type). This removes the absurd cases of `\MyNamespace\$this` in the documentation.
    
    Commits
    -------
    
    50d4d98 Allow `$this` type hint
Commits on Jun 26, 2018
  1. bug #353 Removed use of ProcessBuilder (dborsatto)

    fabpot committed Jun 26, 2018
    This PR was merged into the 4.1-dev branch.
    
    Discussion
    ----------
    
    Removed use of ProcessBuilder
    
    Hello,
    
    Version 4.1 of Sami is currently not working when using `GitVersionCollection`, because it relies on `Symfony\Component\Process\ProcessBuilder`, which has been removed in version 4 of `symfony/process`.
    
    Version 4.0 of Sami pointed to version `~3.0` of `symfony/process`, so that works regularly. According to the Symfony upgrade guide, instead of relying on `ProcessBuilder`, we just use `Process` directly.
    
    The Phar at `http://get.sensiolabs.org/sami.phar` is affected, so it might be breaking some CI builds (that's how I discovered about this).
    
    Commits
    -------
    
    6197d13 Removed use of ProcessBuilder
Commits on Jun 25, 2018
  1. prepared version 4.1.0

    fabpot committed Jun 25, 2018
  2. bumped version to 4.1

    fabpot committed Jun 25, 2018
  3. updated changelog

    fabpot committed Jun 25, 2018
  4. feature #352 Add support for Symfony 4 (fabpot)

    fabpot committed Jun 25, 2018
    This PR was merged into the 4.0-dev branch.
    
    Discussion
    ----------
    
    Add support for Symfony 4
    
    Commits
    -------
    
    046bee8 added support for Symfony 4
  5. added support for Symfony 4

    fabpot committed Jun 25, 2018
  6. dropped support for PHP 7.0

    fabpot committed Jun 25, 2018
  7. minor #343 chore: clone last commit (DanielRuf)

    fabpot committed Jun 25, 2018
    This PR was merged into the 4.0-dev branch.
    
    Discussion
    ----------
    
    chore: clone last commit
    
    To be equal to https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/2.11/.travis.yml#L5-L6 and improve the build times a bit.
    
    Commits
    -------
    
    3540f54 chore: clone last commit
  8. feature #345 Add support for PHP7 return types (markdunphy)

    fabpot committed Jun 25, 2018
    This PR was merged into the 4.0-dev branch.
    
    Discussion
    ----------
    
    Add support for PHP7 return types
    
    Hi @fabpot -
    
    Thanks for all your work on Sami! This feature was discussed in #256 and you suggested it could be implemented. Please let me know your thoughts on this PR.
    
    Commits
    -------
    
    95eeb68 add support for php7 return types
  9. bug #328 allow `true` and `false` type-hint (pine3ree)

    fabpot committed Jun 25, 2018
    This PR was merged into the 4.0-dev branch.
    
    Discussion
    ----------
    
    allow `true` and `false` type-hint
    
    thus removing weird `abbr` titles such as `my\namespaced\class\false`
    
    Commits
    -------
    
    b8b7f88 allow `true` and `false` type-hint
  10. minor #348 Remove unused 'use' (williamdes)

    fabpot committed Jun 25, 2018
    This PR was merged into the 4.0-dev branch.
    
    Discussion
    ----------
    
    Remove unused 'use'
    
    `use Sami\RemoteRepository\GitHubRemoteRepository;` is not used, removed.
    
    Commits
    -------
    
    501e40a Remove unused 'use'
Commits on Apr 4, 2018
  1. updated CHANGELOG

    fabpot committed Apr 4, 2018
  2. updated CHANGELOG

    fabpot committed Apr 4, 2018
  3. bug #338 Hotfix/335 (Tomasz Struczyński)

    fabpot committed Apr 4, 2018
    This PR was merged into the 4.0-dev branch.
    
    Discussion
    ----------
    
    Hotfix/335
    
    Fixes #335
    
    Commits
    -------
    
    0b83d5b Fix #289
Commits on Feb 22, 2018
  1. feature #289 Add extended support for @see tag (Tomasz Struczyński)

    fabpot committed Feb 22, 2018
    This PR was squashed before being merged into the 4.0-dev branch (closes #289).
    
    Discussion
    ----------
    
    Add extended support for @see tag
    
    This PR adds extended support for @see tag. It tries to maintain backwards compatibility with templates (see tag is still present in getOtherTags with the same structure, as before). But it is also avaiable as new  `Reflection::getSee()` class method, which adds possibility to create class/method/URL links.
    
    Commits
    -------
    
    332dac2 Add extended support for @see tag
Commits on Feb 5, 2018
  1. bumped version to 4.0.15

    fabpot committed Feb 5, 2018
  2. bug #327 Fix type null for nullable type parameters not added as type…

    fabpot committed Feb 5, 2018
    … (CharlotteDunois)
    
    This PR was merged into the 4.0-dev branch.
    
    Discussion
    ----------
    
    Fix type null for nullable type parameters not added as type
    
    I've started using PHP 7.1 nullable types and noticed, that Sami is not able to parse them. I saw the issue #264, but it does not fix the issue, at least not for parameters.
    
    For example `function setAvatar(?string $data)` will result in a type of `string`, and not `string|null` as expected. The PHP documentation for that element *is* `@param string|null $data`.
    
    This PR fixes this by adding the `null` type to the type array when resolving hints.
    
    Commits
    -------
    
    ae635f6 Fix
Commits on Jan 10, 2018
  1. bumped version to 4.0.14

    fabpot committed Jan 10, 2018
  2. updated CHANGELOG

    fabpot committed Jan 10, 2018
  3. bug #324 Inconsistent result on Index Page (CharlotteDunois)

    fabpot committed Jan 10, 2018
    This PR was merged into the 4.0-dev branch.
    
    Discussion
    ----------
    
    Inconsistent result on Index Page
    
    Switches a boolean in the macro to provide, by default, a consistent result on the index page. Fixes #309.
    
    Commits
    -------
    
    bc0ac7d Update macros.twig
  4. fixed CS

    fabpot committed Jan 10, 2018
  5. feature #321 Implement option to sort properties, methods, constants,…

    fabpot committed Jan 10, 2018
    … traits and interfaces (CharlotteDunois)
    
    This PR was squashed before being merged into the 4.0-dev branch (closes #321).
    
    Discussion
    ----------
    
    Implement option to sort properties, methods, constants, traits and interfaces
    
    This simple PR adds the possibility for the user to decide if the properties, methods, constants and traits get sorted on the class page. This can be done by simple defining a truthy value (`true`), to sort by lexicographical (used gets `uksort`). It's also possible to define a callable, which then gets passed to `uksort`.
    
    New options available:
    `sort_class_properties`
    `sort_class_methods`
    `sort_class_constants`
    `sort_class_traits`
    `sort_class_interfaces`
    
    Fixes #319.
    
    Commits
    -------
    
    05c0b70 Implement option to sort properties, methods, constants, traits and interfaces
Commits on Dec 31, 2017
  1. bumped version to 4.0.13-DEV

    fabpot committed Dec 31, 2017
  2. prepared RELEASE 4.0.12

    fabpot committed Dec 31, 2017
  3. feature #320 Adds variadic arguments support (CharlotteDunois)

    fabpot committed Dec 31, 2017
    This PR was squashed before being merged into the 4.0-dev branch (closes #320).
    
    Discussion
    ----------
    
    Adds variadic arguments support
    
    This patch adds variadic arguments support. Fixes #313.
    
    This is how it will look like:
    ![grafik](https://user-images.githubusercontent.com/4529744/34228420-df8410c8-e5d0-11e7-9376-e626359ddaf8.png)
    
    Commits
    -------
    
    1a979c1 Adds variadic arguments support
Commits on Dec 20, 2017
  1. bumped version to 4.0.12-DEV

    fabpot committed Dec 20, 2017
  2. bumped version to 4.0.11

    fabpot committed Dec 20, 2017
  3. updated CHANGELOG

    fabpot committed Dec 20, 2017
  4. minor #318 Remove support for HHVM (fabpot)

    fabpot committed Dec 20, 2017
    This PR was merged into the 4.0-dev branch.
    
    Discussion
    ----------
    
    Remove support for HHVM
    
    Tests do not pass anyway on HHVM.
    
    Commits
    -------
    
    c4ee12a removed support for HHVM
  5. removed support for HHVM

    fabpot committed Dec 20, 2017
  6. minor #314 Test against PHP 7.2 (carusogabriel)

    fabpot committed Dec 20, 2017
    This PR was merged into the 4.0-dev branch.
    
    Discussion
    ----------
    
    Test against PHP 7.2
    
    With the release of [`PHP 7.2`](php.net/archive/2017.php#id2017-11-30-1), would be interesting to test it.
    
    Commits
    -------
    
    261d67c Test against PHP 7.2
  7. minor #310 Update to phpunit-bridge 4.0 (carusogabriel)

    fabpot committed Dec 20, 2017
    This PR was merged into the 4.0-dev branch.
    
    Discussion
    ----------
    
    Update to phpunit-bridge 4.0
    
    I use the `PHPUnit\Framework\TestCase` notation instead of `PHPUnit_Framework_TestCase` while extending our TestCases. This will help us migrate to PHPUnit 6, that [no longer support snake case class names](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-6.0.md#changed-1).
    
    I just need to update `symfony/phpunit-bridge` to support this `namespace`.
    
    Commits
    -------
    
    c3acbe8 Update to phpunit-bridge 4.0
  8. minor #315 Use assertCount (carusogabriel)

    fabpot committed Dec 20, 2017
    This PR was merged into the 4.0-dev branch.
    
    Discussion
    ----------
    
    Use assertCount
    
    Commits
    -------
    
    3dbdf0d Use assertCount