2017 © Pedro Peláez
 

library disallowed-character-terminated-string

A string terminated by one or more disallowed characters

image

webignition/disallowed-character-terminated-string

A string terminated by one or more disallowed characters

  • Wednesday, July 18, 2012
  • by webignition
  • Repository
  • 1 Watchers
  • 1 Stars
  • 40,104 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 17 % Grown

The README.md

Disallowed Character Terminated String Build Status

Overview

A given string will be terminated when reaching the first of one or more specified terminating characters., (*1)

Useful when stripping out end-of-line comments or when discarding whatever follows a line return., (*2)

Example Usage

<?php

use webignition\DisallowedCharacterTerminatedString\TerminatedString;

$string = new TerminatedString('value #comment', ['#']);

$this->assertEquals('value ', $string->get());

Installation and Updating

composer require webignition/disallowed-character-terminated-string
composer update webignition/disallowed-character-terminated-string

Testing

To run tests:, (*3)

composer test, (*4)

To run code quality checks:, (*5)

composer cs, (*6)

To run static analysis:, (*7)

composer static-analysis, (*8)

To run all test and analyses:, (*9)

composer ci, (*10)

Have look at the [project on travis][4] for the latest build status, or give the tests a go yourself., (*11)

The Versions

18/07 2012

dev-master

9999999-dev https://github.com/webignition/disallowed-character-terminated-string

A string terminated by one or more disallowed characters

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Jon Cram

string terminated

16/07 2012

1.0

1.0.0.0 https://github.com/webignition/disallowed-character-terminated-string

A string terminated by one or more disallowed characters

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Jon Cram

string terminated