File: PsrLogAbstractLogger_construct.phpt

package info (click to toggle)
php-psr 1.2.0-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 548 kB
  • sloc: ansic: 1,485; pascal: 203; xml: 150; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 341 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Psr\Log\AbstractLogger
--SKIPIF--
<?php include('skip.inc'); ?>
--FILE--
<?php
use Psr\Log\AbstractLogger;
try {
     new AbstractLogger();
} catch( \EngineException $e ) {
    echo $e->getMessage();
} catch( \Throwable $e ) {
    echo $e->getMessage();
}
--EXPECTF--
%SCannot instantiate abstract class PsrExt\Log\AbstractLogger%S