Completed
Push — master ( 9cb597...d2d2ad )
by mw
13s
created

includes/dataitems/SMW_DI_String.php (3 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
/**
4
 * Unused class, kept for compatibilty.
5
 *
6
 * @deprecated Will be removed after SMW 1.9; do not use
7
 */
8
class SMWStringLengthException extends MWException {
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
9
}
10
11
/**
12
 * This class is an alias for SMWDIBlob, kept for compatibility.
13
 *
14
 * @since 1.6
15
 * @deprecated Will be removed after SMW 1.9; use SMWDIBlob instead
16
 *
17
 * @author Markus Krötzsch
18
 * @ingroup SMWDataItems
19
 */
20
class SMWDIString extends SMWDIBlob {
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class should be in its own file to aid autoloaders.

Having each class in a dedicated file usually plays nice with PSR autoloaders and is therefore a well established practice. If you use other autoloaders, you might not want to follow this rule.

Loading history...
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
21
}
22