Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements v2.0.0 #5

Merged
merged 1 commit into from
Mar 27, 2018
Merged

Implements v2.0.0 #5

merged 1 commit into from
Mar 27, 2018

Conversation

roukmoute
Copy link
Owner

No description provided.

@roukmoute roukmoute self-assigned this Mar 26, 2018
CHANGELOG-2.0.md Outdated
* This new version is only for PHP ⩾7.1.
* Update all dependencies
* DoctrineParamConverter is not used needed anymore
* This bundle only convert hashid into an id
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

convert "s"

CHANGELOG-2.0.md Outdated
* DoctrineParamConverter is not used needed anymore
* This bundle only convert hashid into an id
* Replace `autowire` with `passthrough`.
This new parameter which permits to continue with next param converters available.
Copy link

@seultou seultou Mar 26, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whitespace between + and This ? or you didn't mean to put a new line ?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's intended to continue with the previous point.

README.md Outdated

Converter Name: `hashids.converter`

The hashids converter attempts to convert request hashid attributes to a
id for fetch a Doctrine entity.
The hashids converter attempts to convert request hashid attributes to an id.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

requested ?

CHANGELOG-2.0.md Outdated
* feature #24583 Adding a new debug:autowiring command (weaverryan)
* This new version is only for PHP ⩾7.1.
* Update all dependencies
* DoctrineParamConverter is not used needed anymore
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

used "and/or" needed anymore ?

README.md Outdated
The autowiring subsystem will detect the hashid.

Base on the example above:
For specify to use hashids converter just add `"hashid" = "{parameter_name}"`
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For specific cases, ... ?

@seultou
Copy link

seultou commented Mar 26, 2018

for declare() you should put a newline before each one between the php open tag and the declare(...)
doc

Copy link

@babaorum babaorum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in the changelog, you could add the fact that you are not requiring doctrine anymore.

CHANGELOG-2.0.md Outdated
* DoctrineParamConverter is not used needed anymore
* This bundle only convert hashid into an id
* Replace `autowire` with `passthrough`.
This new parameter which permits to continue with next param converters available.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with the next ... ?

README.md Outdated

## Installation

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You do not keep a "regular" install ?
Since you specify for symfony flex ...
Maybe just describe the extra steps for symfony flex ....

README.md Outdated

Open a command console, enter your project directory and execute the
following command to download the latest stable version of this bundle:

```
composer require roukmoute/hashids-bundle
composer config extra.symfony.allow-contrib true
composer req roukmoute/hashids-bundle
```

This command requires you to have Composer installed globally.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you keep it that way, these commands.

README.md Outdated

Open a command console, enter your project directory and execute the
following command to download the latest stable version of this bundle:
Theses commands requires you to have Composer installed globally.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"These commands"

README.md Outdated
Or can directly use `id` now !
## Using Passthrough

`Passthrough` permits to continue with next param converters available.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"permits" => "allows"
"the next available param converters"

CHANGELOG-2.0.md Outdated
* DoctrineParamConverter is not used anymore
* This bundle only converts hashid into an id
* Replace `autowire` with `passthrough`.
This new parameter which permits to continue with the next param converters available.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"allows to continue with the next available param converters"

Repository owner deleted a comment from seultou Mar 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants