Update doc/articles/scripts.md

forget a comma
Moved setter before getter and added @inheritDoc
Add missing use statement, fixes #1521
Merge pull request #1523 from deguif/master

Moved setter for repository before getter in BasePackage class
Merge pull request #1520 from dehenne/patch-1

Update doc/articles/scripts.md
Add another missing use statement, fixes #1521