• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PhilippBaschke / acf-pro-installer / 9 / 4
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: upgrade-phpenv
DEFAULT BRANCH: master
Ran 14 Apr 2016 08:57PM UTC
Files 1
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Apr 2016 08:47PM UTC coverage: 100.0%. Remained the same
9.4

push

travis-ci

PhilippBaschke
Get version of ACF PRO package from composer.json

The repository that is added by the plugin needs to specify the ACF PRO
package in a version that matches the version constraint of the user. To
ensure that this is given, the plugin uses the version constraint that
the user supplied.

E.g users composer.json:
...
"require": {
  ...
  "advanced-custom-fields/advanced-custom-fields-pro": "1.2.3",
  ...
}
...
--> Version used: 1.2.3

It works if the user specifies the package in require or require-dev. If
the user does not require the package at all, the repository is never
added because it is unnecessary. The case where the user specifies the
package in require AND require-dev is not covered. The plugin will use
the version from the require field (which might not be the expected
behavior for the user). This case was omited because it seems unlikely.

20 of 20 relevant lines covered (100.0%)

4.0 hits per line

Source Files on job 9.4
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9
  • Travis Job 9.4
  • 1bfa2a3c on github
  • Prev Job for on feature-composer-plugin (#8.3)
  • Next Job for on feature-composer-plugin (#10.4)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc